# coding:utf-8
# author:fxh

from redis import Redis
from cachepy import Cache

if __name__ == '__main__':

    client = Redis(decode_responses=True)
    cache = Cache(client)
    print(cache.set("greeting-page","<html><p>hello world</p></html>"))
    print(cache.get("greeting-page"))

